package com.mydemo.mybatisdemo1.mapper.two;

import com.mydemo.mybatisdemo1.dto.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Component(value = "TwoUserMapper")
@Mapper
public interface UserMapper {
    public void insert(UserInfo user);

    public void update(UserInfo user);

    public void delete(int id);

    public UserInfo find(int id);
}
